app.directive("headerDirective",function(){
    return{
        restrict:"EA",
        templateUrl:"/views/directives/headerDirective.html",
        link:function(scope,element,attr){
          scope.navShowIndex=0;
          scope.navShow=function(i){
               scope.navShowIndex=i;
          }
        }
    }
})
app.directive("footerDirective",function(){
    return{
        restrict:"EA",
        templateUrl:"/views/directives/footerDirective.html",
        link:function(){

        }
    }
})
app.directive("leftNavDirective",function(){
    return{
        restrict:"EA",
        templateUrl:"/views/directives/leftNavDirective.html",
        link:function(){

        }
    }
})
app.directive("breadcrumbDirective",function(){
    return{
        restrict:"EA",
        templateUrl:"/views/directives/breadcrumbDirective.html",
        link:function(){

        }
    }
})
app.directive("newListDirective",function(){
    return{
        restrict:"EA",
        scope:{
            data:"=",
            currentState:"@currentstate"
        },
        templateUrl:"/views/directives/newListDirective.html",
        link:function(scope,element,attr){
            console.log(scope.currentState);
        }
    }
})
app.directive("paginationDirective",function(){
    return{
        restrict:"EA",
        templateUrl:"/views/directives/paginationDirective.html",
        link:function(){
            
        }
    }
})
